package app.modules.example.dto.web;

import app.modules.common.dto.web.WebPageDTO;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.ZonedDateTime;

/**
 * @author mh.z
 */
@Schema(title = "示例查询DTO")
public class WebExampleQueryDTO extends WebPageDTO {

    @Schema(title = "名称")
    private String exampleName;

    @Schema(title = "备注")
    private String remark;

    @Schema(title = "创建日期从")
    private ZonedDateTime createdDateFrom;

    @Schema(title = "创建日期至")
    private ZonedDateTime createdDateTo;

    @Schema(title = "仅已启用")
    private Boolean enableFlagOnly;

    public String getExampleName() {
        return exampleName;
    }

    public void setExampleName(String exampleName) {
        this.exampleName = exampleName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public ZonedDateTime getCreatedDateFrom() {
        return createdDateFrom;
    }

    public void setCreatedDateFrom(ZonedDateTime createdDateFrom) {
        this.createdDateFrom = createdDateFrom;
    }

    public ZonedDateTime getCreatedDateTo() {
        return createdDateTo;
    }

    public void setCreatedDateTo(ZonedDateTime createdDateTo) {
        this.createdDateTo = createdDateTo;
    }

    public Boolean getEnableFlagOnly() {
        return enableFlagOnly;
    }

    public void setEnableFlagOnly(Boolean enableFlagOnly) {
        this.enableFlagOnly = enableFlagOnly;
    }

}
